#include "BulletDynamics/Featherstone/btMultiBodySphericalJointLimit.h"
#ifdef __cplusplus
extern "C" {
#endif
btMultiBodySphericalJointLimit* bullet_NewbtMultiBodySphericalJointLimit(btMultiBody* body,int link,double swingxRange,double swingyRange,double twistRange,double maxAppliedImpulse){
	btMultiBody * c_arg_body=(btMultiBody *)(void*)(body);
	int c_arg_link=link;
	btScalar c_arg_swingxRange=swingxRange;
	btScalar c_arg_swingyRange=swingyRange;
	btScalar c_arg_twistRange=twistRange;
	btScalar c_arg_maxAppliedImpulse=maxAppliedImpulse;
	btMultiBodySphericalJointLimit* wrap_out = new btMultiBodySphericalJointLimit(c_arg_body,c_arg_link,c_arg_swingxRange,c_arg_swingyRange,c_arg_twistRange,c_arg_maxAppliedImpulse);
	return wrap_out;
}

double bullet_btMultiBodySphericalJointLimit_getMaxAppliedImpulseMultiDof(btMultiBodySphericalJointLimit* c_this,int i){
	int c_arg_i=i;
	btScalar c_out = c_this->getMaxAppliedImpulseMultiDof(c_arg_i);
	double wrap_out = (c_out);
	return wrap_out;
}

void bullet_btMultiBodySphericalJointLimit_setMaxAppliedImpulseMultiDof(btMultiBodySphericalJointLimit* c_this,btVector3* maxImp){
	btVector3 const& c_arg_maxImp=(btVector3 const&)(*maxImp);
	c_this->setMaxAppliedImpulseMultiDof(c_arg_maxImp);
}

#ifdef __cplusplus
}
#endif
